package com.hsjk.szwj.module.official.controller.admin.unit.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author chenjiawei
 * @desc
 * @Date 2023/11/23 22:50
 **/
@Data
public class AdminModuleBannerUpdateReqVO {
    @NotNull(message = "id不能为空")
    private Long id;
    /**
     * banner名称
     */
    @Schema(description = "banner名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "aaa")
    private String bannerName;
    /**
     * banner类型;1：图片，2：视频
     */
    @Schema(description = "banner类型;1：图片，2：视频", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer bannerType;
    /**
     * 内容url地址
     */
    @Schema(description = "内容url地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "http://")
    private String bannerUrl;
    /**
     * 跳转开关;0：关闭 1：开启
     */
    @Schema(description = "跳转开关;0：关闭 1：开启", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    private Integer switchJump;
    /**
     * banner跳转页面地址
     */
    @Schema(description = "banner跳转页面地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "/page/")
    private String jumpPage;
    /**
     * 排序
     */
    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    private Integer sortNo;
}
